﻿namespace Material.Mvc.Models.OrderModels
{
    public class Work_OrderInput
    {
        /// <summary>
        /// 工单编号
        /// </summary>
        public string? OrderNumber { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string? OrderName { get; set; }
        /// <summary>
        /// 关联生产编号
        /// </summary>
        public string? Production_Number { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public string? Related_Project { get; set; }
        /// <summary>
        /// 工单日期
        /// </summary>
        public DateTime? OrderDate { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Principal { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Note { get; set; }

        /// <summary>
        /// 物品编号
        /// </summary>
        public string ArticleNumber { get; set; }
        /// <summary>
        /// 物品id
        /// </summary>
        public int? Article_Id { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string ArticleName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? Specifications { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string? ArticleType { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public string? Classification { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string? Brand { get; set; }
        /// <summary>
        /// 总库存
        /// </summary>
        public int? Total_Inventory { get; set; }
        /// <summary>
        /// 单价价格
        /// </summary>
        public decimal? Unit_Price { get; set; }
        /// <summary>
        /// 销售价格
        /// </summary>
        public decimal? Sale_Price { get; set; }
        /// <summary>
        /// 生产单id
        /// </summary>
        public int? OrderId { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? Planned_Start { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime? Planned_Completion { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public int? Planned_Output { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public int? QualifiedNum { get; set; }
        /// <summary>
        ///不合格数量
        /// </summary>
        public int? DisqualificationNum { get; set; }
        /// <summary>
        /// 合格率
        /// </summary>
        public string? Pass { get; set; }
        /// <summary>
        /// 工序id
        /// </summary>
        public int? Activity_Id { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string? Activity_ListNumber { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? Activity_ListName { get; set; }
        /// <summary>
        /// 加工顺序
        /// </summary>
        public int? Processing { get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        public string? Process_Name { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Principal1 { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? Planned_Start1 { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime? Planned_Completion1 { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public int? Planned_Output1 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Note1 { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? State { get; set; }
        /// <summary>
        /// 完工数量
        /// </summary>
        public int? Completed { get; set; }
    }
}
